//
//  PYOverUserInteractionEnableView.swift
//  ltsp
//
//  Created by jyvyi_ios on 2022/5/19.
//

import UIKit

class PYOverUserInteractionEnableView: UIView {

    /// 手势透过
    /// - Parameters:
    ///   - point: ~
    ///   - event: ~
    /// - Returns: ~
    override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
        
        if let view = super.hitTest(point, with: event) , view == self{
            return nil
        }
        return super.hitTest(point, with: event)
    }
}
